Buckaroo\Woocommerce\Order\OrderCapture S

Total Complexity 34
Dependencies 8
Dependents 1
Total lines 322
Lines of code 153
Logical lines of code 74
Comment lines 98
Methods 19
Properties 8

Methods 19

Method Rating Maintainability Complexity Lines of code
add_meta_box_form()
S
55 5 19
sanitize_json()
S
61 4 13
get_available_to_capture_by_type()
S
62 3 12
get_available_to_capture()
S
60 2 16
get_refunded_captures()
S
64 3 10
init_previous_captures()
S
62 2 12
init_form_items()
S
60 1 15
get_input_item_value()
S
73 2 5
get_item_qty()
S
68 2 7
get_item_tax_totals()
S
79 1 3
get_item_total()
S
79 1 3
get_previous_capture_with_item()
S
69 1 8
__construct()
S
71 1 5
get_previous_captures()
S
82 1 3
get_order_details()
S
82 1 3
setOrderDetails()
S
72 1 6
init_form_inputs()
S
73 1 5
output()
S
72 1 5
get_form_items()
S
82 1 3